<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script>
    function excel(){
        window.location.href="ExcelController/export";
    }
</script>
<body>
<button  type="button" onclick="excel();">导出Excel</button>
</body>
</html>